package com.bkgy.controller.tpdol3data.entity.dto;

import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * 全流程成材率请求参数
 */
@Data
public class TPdoL3TcmRequest extends TPdoL3TcmBaseRequest{
    /**
     * 产线标识，成材率|异常切损|度次降|降级量|原品种损失
     */
    @Pattern(regexp = "yield|abnormalCuttingDamage|degreeReduction|downgrade|originalVarietyLoss", message = "产线标识参数错误")
    private String type;

}
